<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<div class="container">
    <h2>Login</h2>
    <form  id="loginForm" method="post">
        <label for="username">用户名:</label>
        <input type="text" id="username" name="username">
        <label for="password">密码:</label>
        <input type="text" id="password" name="password">
        <input type="submit" value="登录">
    </form>
    {{ if .message }}
        <div id="message">
            {{.message}}
        </div>
    {{ end }}

</div>
</body>
</html>